<template>
  <VanSwipe :autoplay="2000">
    <VanSwipeItem class="flex flex-col h-auto justify-center items-center" v-for='item, key in array' :key="key">
      <AppsDefineHomeCardItemComponent :back-ground-image-url="item.backGroundImageUrl" :text-context="item.textContext"
        :text-decontext="item.textDecontext" />
    </VanSwipeItem>
  </VanSwipe>
</template>

<script lang="ts" setup>
defineProps<{ array: Array<useDefineHomePageCardItemComponent> }>()
</script>